home *** CD-ROM | disk | FTP | other *** search
- this.pauseFunc = function(what)
- {
- var t = this;
- var c = t.launcher.cupid;
- if(what == true)
- {
- t.pause = true;
- _quality = "high";
- c.body.arms.anim.stop();
- c.skirt.stop();
- c.body.wing1.stop();
- c.body.wing2.stop();
- c.body.top.stop();
- c.body.head.anim.stop();
- t.fade = "out";
- t.pauseDisplay.gotoAndStop("show");
- }
- else
- {
- t.pause = false;
- if(t.gameType == "real")
- {
- _quality = t.inGameQuality;
- }
- if(c.body.arms.anim._currentframe != c.body.arms.anim._totalframes)
- {
- c.body.arms.anim.play();
- }
- c.skirt.play();
- c.body.wing1.play();
- c.body.wing2.play();
- c.body.top.play();
- c.body.head.anim.play();
- if(t.globalsoundcontrol == "play")
- {
- t.fade = "in";
- }
- t.mainDisplay.fillBlanks();
- t.mainDisplay.gotoAndStop("blank");
- t.pauseDisplay.gotoAndStop("blank");
- }
- };
-